<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<link href="/static/css/general.css" rel="stylesheet" type="text/css" media="screen" />
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
.saminput{
width:80px;
}
.lhon{line-height:38px;background:#D1FAFE;}
.lhout{line-height:30px;background:#FFFFFF;}
-->
</style>
</HEAD>

<BODY>
<table width="100%" border="1" cellpadding="1" cellspacing="1" bordercolor="#64D5F0" bgcolor="#D1FAFE">
  <tr style="background:#0099ff;color:#ffffff;">
    <td style="width:70px;">Id</td>
    <td style="width:180px;">Customer Name</td>
    <td style="width:180px;">Next Follow Date</td>
    <td>Remark</td>
    <td style="width:100px;">Sales</td>
    <td style="width:100px;">Options</td>
  </tr>
{%for nf in nf_list%}
  <tr class="lhon">
    <td>{{nf.id}}</td>
    <td><a href="/edit_u/{{nf.member.id}}/?is_deal=1">{{nf.member.name}}</a></td>
    <td {%ifequal nf.follow_date today%}style="color:red"{%endifequal%}>{{nf.follow_date|date:'d/m/Y'}}</td>
    <td>{{nf.remark}}</td>
    <td><a href="/next_follow_list/?sid={{nf.member.salesperson.id}}">{{nf.member.salesperson.name}}</a></td>
    <td>&nbsp;&nbsp;<a href="/del/next_follow_list/{{nf.id}}/" onclick="return confirm('Are you sure to delete it?');">Del</a></td>
  </tr>
{%endfor%}
{%for nf in nf_list2%}
  <tr class="lhout">
    <td>{{nf.id}}</td>
    <td><a href="/edit_u/{{nf.member.id}}/?is_deal=1">{{nf.member.name}}</a></td>
    <td>{{nf.follow_date|date:'d/m/Y'}}</td>
    <td>{{nf.remark}}</td>
    <td><a href="/next_follow_list/?sid={{nf.member.salesperson.id}}">{{nf.member.salesperson.name}}</a></td>
    <td>&nbsp;&nbsp;<a href="/del/next_follow_list/{{nf.id}}/" onclick="return confirm('Are you sure to delete it?');">Del</a></td>
  </tr>
{%endfor%}
</BODY>
</HTML>
